package com.parking.status.sync.netty.event;

import com.parking.status.sync.netty.entity.RequestPre;
import io.netty.channel.ChannelHandlerContext;

/**
 * Created by Administrator on 2015/9/21.
 */
public class RequestReceivedEventParameters {
    private ChannelHandlerContext context;

    private RequestPre request;

    public RequestReceivedEventParameters(ChannelHandlerContext context, RequestPre request) {
        this.context = context;
        this.request = request;
    }

    public ChannelHandlerContext getContext() {
        return context;
    }

    public void setContext(ChannelHandlerContext context) {
        this.context = context;
    }

    public RequestPre getRequest() {
        return request;
    }

    public void setRequest(RequestPre request) {
        this.request = request;
    }
}
